package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 鑫仔
 * @Date:  2025/7/26 11:25
 * @Description: 
 **/

/**
 * 用户参团表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_group")
public class Group implements Serializable {
    /**
     * id
     */
    @TableId(value = "group_id", type = IdType.AUTO)
    private Integer groupId;

    /**
     * 活动Id
     */
    @TableField(value = "join_id")
    private Integer joinId;

    /**
     * 团长
     */
    @TableField(value = "team_header")
    private String teamHeader;

    /**
     * 成团人数
     */
    @TableField(value = "team_limit")
    private Integer teamLimit;

    /**
     * 参团人数
     */
    @TableField(value = "join_num")
    private Integer joinNum;

    /**
     * 开团时间
     */
    @TableField(value = "begin_time")
    private Date beginTime;

    /**
     * 截止时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 拼团状态
     */
    @TableField(value = "group_status")
    private Integer groupStatus;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}